<?php

namespace App\Models;
use Illuminate\Database\Eloquent\SoftDeletes;

class MallFullReduction extends Base
{
    use SoftDeletes;

//    public function setAmountAttribute($amount) {
//        $this->attributes['amount'] = $amount * 100;
//    }
//
//    public function getAmountAttribute($amount) {
//        return number_format($amount);
//    }

    public function merchant() {
        return $this->belongsTo(Merchant::class, 'merchant_id');
    }
}
